//
//  KefuTableViewCell.h
//  MyNewProject
//
//  Created by 王春辉 on 1/13/20.
//  Copyright © 2020 sun. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@interface KefuContentViewModel : NSObject

///  model数据类型
@property (nonatomic, assign) NSInteger msgType;

///  头像
@property (nonatomic, copy) NSString *iconPath;

/// 内容
@property (nonatomic, copy) NSString *content;

/// 时间
@property (nonatomic, copy) NSString *date;

/// 富文本
@property (nonatomic, copy, readonly) NSAttributedString *attributedString;

@end


@interface KefuTableViewCell : UITableViewCell

/// 刷新数据
/// @param model model
/// @param selectedBlock 点击回调
- (void)refreshWithModel:(KefuContentViewModel *)model LinkSelected:(void(^)(NSString *))selectedBlock;
@end

NS_ASSUME_NONNULL_END
